package com.atguigu.springbootdemo.customer.service;

import com.atguigu.springbootdemo.customer.bean.Customer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * ClassName: CustomerService
 * Package: com.atguigu.springbootdemo.service
 * Description:
 *
 * @Author:
 * @Create: 2024/3/13 09:04
 * @Version: 1.0
 */
public interface CustomerService extends IService<Customer> {
    Customer getCustomer(Integer id);

    List<Customer> getCustomerList();

    void savaCustomer(Customer customer);

    void updateCustomer(Customer customer);

    void deleteCustomer(Integer id);

    List<Customer> selectCustomerByCondition(String username, Integer age);

}
